﻿namespace SourceCodeRepository.Common
{
    using Infra.Logging;
    using StructureMap.Configuration.DSL;

    /// <summary>
    /// StructureMap configuration defenitions for the Common project.
    /// </summary>
    public class CommonRegistry : Registry
    {
        protected override void configure()
        {
            ForRequestedType<ILog>().TheDefaultIsConcreteType<Log>().AsSingletons();
        }
    }
}
